using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace DataTransferObject
{
    [Serializable()]
    public class clsDapAn
    {
        private int _intMaDapAn;
        private int _intThuTu;
        private string _strNoiDung;
        private int _intDapAnDung;
        private string _strGiaiThich;
        private int _intMaCauHoi;

        public clsDapAn()
        {

        }
        public clsDapAn(int madapan)
        {
            _intMaDapAn = madapan;
        }
        public clsDapAn(int madapan, int thutu, string noidung, int dapandung, string giaithich, int macauhoi)
        {
            _intMaDapAn = madapan;
            _intThuTu = thutu;
            _strNoiDung = noidung;
            _intDapAnDung = dapandung;
            _strGiaiThich = giaithich;
            _intMaCauHoi = macauhoi;
        }

        public int MaDapAn
        {
            get
            {
                return _intMaDapAn;
            }
            set
            {
                _intMaDapAn = value;
            }
        }

        public string NoiDung
        {
            get
            {
                return _strNoiDung;
            }
            set
            {
                _strNoiDung = value;
            }
        }

        public int ThuTu
        {
            get
            {
                return _intThuTu;
            }
            set
            {
                _intThuTu = value;
            }
        }

        public int DapAnDung
        {
            get
            {
                return _intDapAnDung;
            }
            set
            {
                _intDapAnDung = value;
            }
        }

        public string GiaiThich
        {
            get
            {
                return _strGiaiThich;
            }
            set
            {
                _strGiaiThich = value;
            }
        }

        public int MaCauHoi
        {
            get
            {
                return _intMaCauHoi;
            }
            set
            {
                _intMaCauHoi = value;
            }
        }
    }
}
